package com.ruoyi.erp.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;



/**
 * 往来单位明细视图对象 base_relate_unit_detail
 *
 * @author chenyun
 * @date 2022-03-06
 */
@Data
@ApiModel("往来单位明细视图对象")
@ExcelIgnoreUnannotated
public class RelateUnitDetailVo {

	private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
	@ExcelProperty(value = "编号")
	@ApiModelProperty("编号")
	private Long id;

    /**
     * 往来单位
     */
	@ExcelProperty(value = "往来单位")
	@ApiModelProperty("往来单位")
	private Long relateUnitId;

    /**
     * 所属机构
     */
	@ExcelProperty(value = "所属机构")
	@ApiModelProperty("所属机构")
	private Long orgId;

    /**
     * 类型
     */
	@ExcelProperty(value = "类型")
	@ApiModelProperty("类型")
	private String relateUnitType;

    /**
     * 银行
     */
    @ExcelProperty(value = "银行", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "base_bank")
	@ApiModelProperty("银行")
	private String bank;

    /**
     * 银行账号
     */
	@ExcelProperty(value = "银行账号")
	@ApiModelProperty("银行账号")
	private String bankAccount;

    /**
     * 手机
     */
	@ExcelProperty(value = "手机")
	@ApiModelProperty("手机")
	private String mobileTel;

    /**
     * 联系人
     */
	@ExcelProperty(value = "联系人")
	@ApiModelProperty("联系人")
	private Long relatePersonId;

    /**
     * 部门
     */
	@ExcelProperty(value = "部门")
	@ApiModelProperty("部门")
	private Long deptId;

    /**
     * 专管员
     */
	@ExcelProperty(value = "专管员")
	@ApiModelProperty("专管员")
	private Long employeeId;

    /**
     * 折扣率
     */
	@ExcelProperty(value = "折扣率")
	@ApiModelProperty("折扣率")
	private BigDecimal discRate;

    /**
     * 信用等级
     */
	@ExcelProperty(value = "信用等级")
	@ApiModelProperty("信用等级")
	private String creditGrade;

    /**
     * 信用额度
     */
	@ExcelProperty(value = "信用额度")
	@ApiModelProperty("信用额度")
	private BigDecimal creditLine;

    /**
     * 信用期限
     */
	@ExcelProperty(value = "信用期限")
	@ApiModelProperty("信用期限")
	private Long creditDate;

    /**
     * 支付方式
     */
	@ExcelProperty(value = "支付方式")
	@ApiModelProperty("支付方式")
	private Long payMethodId;

    /**
     * 价格清单
     */
	@ExcelProperty(value = "价格清单")
	@ApiModelProperty("价格清单")
	private Long priceBillId;

    /**
     * 期初应收/付
     */
	@ExcelProperty(value = "期初应收/付")
	@ApiModelProperty("期初应收/付")
	private BigDecimal paid;

    /**
     * 期初其他应收/付
     */
	@ExcelProperty(value = "期初其他应收/付")
	@ApiModelProperty("期初其他应收/付")
	private BigDecimal otherPaid;

    /**
     * 期初预收/付
     */
	@ExcelProperty(value = "期初预收/付")
	@ApiModelProperty("期初预收/付")
	private BigDecimal prePaid;

    /**
     * 业务余额
     */
	@ExcelProperty(value = "业务余额")
	@ApiModelProperty("业务余额")
	private BigDecimal leavePaid;

    /**
     * 发运目的地
     */
	@ExcelProperty(value = "发运目的地")
	@ApiModelProperty("发运目的地")
	private String transTo;

    /**
     * 发运提前期
     */
	@ExcelProperty(value = "发运提前期")
	@ApiModelProperty("发运提前期")
	private Long transAdvance;

    /**
     * 发运方式
     */
	@ExcelProperty(value = "发运方式")
	@ApiModelProperty("发运方式")
	private String transType;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_normal_disable")
	@ApiModelProperty("状态")
	private String status;

    /**
     * 备注
     */
	@ExcelProperty(value = "备注")
	@ApiModelProperty("备注")
	private String remark;


}
